﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using DAL;
namespace BLL
{
  public   class JJBiz
    {
      JJDao jjDao = new JJDao();
        public bool Update(SortedDictionary<string, string> sdList)
        {
            return jjDao.Update(sdList);
        }
        public bool Insert(SortedDictionary<string, string> sdList)
        {
            return jjDao.Insert(sdList);
        }
        public bool Delete(string jjCode)
        {
            return jjDao.Delete(jjCode);
        }
        public DataTable GetOneInfo(string jjCode)
        {
            return jjDao.GetOneInfo(jjCode);
        }
        public bool IsExist(string jjCode)
        {
            return jjDao.IsExist(jjCode);
        }
        public DataTable GetLists(string serWord, string bTime, string eTime, string deptID, string proCode)
        {
            return jjDao.GetLists(serWord, bTime, eTime, deptID, proCode);
        }
    }
}
